<?php
/**
 * Created by PhpStorm.
 * User: 沁塵
 * Date: 2019/4/20
 * Time: 19:57
 */

namespace app\api\controller\v1;

use app\api\model\DouNotice;
use app\lib\dou\DouTool;
use think\facade\Hook;

use think\facade\Log;
use think\facade\Request;

class Notice
{
    /**
     * 抖店自研应用 推送消息接收
     * @return \think\response\Json
     */

    public function notice()
    {
        $param = Request::post();

        $data = $param[0];
        DouNotice::create($data);

        Log::write($data);


        return ["code" => 0,"msg" => "success"];




    }



}